package com.springmvc.dao;

import java.util.ArrayList;

import org.mybatis.spring.annotation.MapperScan;

import com.springmvc.domain.Job;
import com.springmvc.domain.JobWithBLOBs;

//@Repository("jobDao")
@MapperScan
public interface IJobDao {
    int deleteByPrimaryKey(Long idJob);

    int insert(JobWithBLOBs record);

    int insertSelective(JobWithBLOBs record);

    JobWithBLOBs selectByPrimaryKey(Long idJob);

    int updateByPrimaryKeySelective(JobWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(JobWithBLOBs record);

    int updateByPrimaryKey(Job record);
    
    ArrayList<Job> selectAll();
    
    Job selectByID(Long idJob);
}